$(function() {
	var myDate = new Date();
	var result = myDate.getFullYear() + '-' + (myDate.getMonth() + 1) + '-'
			+ myDate.getDate();
	$.post("/problem/overallData", {
		date : result
	}, function(data, status) {

		$("#total").html(data.info);

	});
	$.post("/task/deskTopData", {
		date : result
	}, function(data, status) {
		$("#planTotal").html(data.info);
	});

	$.post("/vp/deskTop", {
		date : result
	}, function(data, status) {
		$("#versionPlan").html(data.info);
	});

	$.post("/openService/desktop", {
		date : result
	}, function(data, status) {
		$("#openService").html(data.info);
	});
	$.post("/task/problemNoTaskRisk", function(data, status) {
		$("#problemNoTaskRisk").html(data);
	});
	$.post("/task/delayTaskRisk", function(data, status) {
		$("#delayTaskRisk").html(data);
	});
	$.post("/task/noVPRisk", function(data, status) {
		$("#noVPRisk").html(data);
	});
	$.post("/task/delayVPRisk", function(data, status) {
		$("#delayVPRisk").html(data);
	});
	$.post("/task/workload", {
		date : result
	}, function(data, status) {
		$("#workload").html(data);
	});

	// $("#planTotal").load('/task/deskTopPage');
	$("#problemFileDiv").load('/problem/uploadFilePage');

});
